package com.diaohw.platform.remote.ws.http;

import com.diaohw.platform.common.constant.ServiceConstant;
import com.diaohw.platform.framework.openfeign.GlobalFeignResultConfig;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = ServiceConstant.websocket, url = "${platform.openfeign.platform-ws:}", configuration = GlobalFeignResultConfig.class)
public interface WsRemoteService {

    @PostMapping("/msg")
    @Operation(summary = "发送消息")
    HttpMsgVO sendMsg(@RequestBody HttpMsgVO msgVO);

}
